package com.zenith.edu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zenith.edu.po.domain.EduKnowledgePoint;
import com.zenith.edu.po.dto.EduKnowledgePointDTO;
import com.zenith.edu.po.vo.EduKnowledgePointVO;

import java.util.List;

public interface EduKnowledgePointService extends IService<EduKnowledgePoint> {
    
    /**
     * 创建知识点
     * @param dto 知识点DTO
     * @return 知识点VO
     */
    EduKnowledgePointVO createKnowledgePoint(EduKnowledgePointDTO dto);
    
    /**
     * 根据ID获取知识点详情
     * @param id 知识点ID
     * @return 知识点VO
     */
    EduKnowledgePointVO getKnowledgePointById(Long id);
    
    /**
     * 更新知识点信息
     * @param dto 知识点DTO
     * @return 知识点VO
     */
    EduKnowledgePointVO updateKnowledgePoint(EduKnowledgePointDTO dto);
    
    /**
     * 删除指定知识点
     * @param id 知识点ID
     * @return 是否删除成功
     */
    boolean deleteKnowledgePoint(Long id);
    
    /**
     * 获取知识点列表
     * @return 知识点VO列表
     */
    List<EduKnowledgePointVO> getKnowledgePointList();
}